#ifndef QRESOURCEFILEWIDGET_H
#define QRESOURCEFILEWIDGET_H

#include <QWidget>

class QResourceTreeView;
class AbstractCore;

class QResourceFileWidget : public QWidget
{
    Q_OBJECT
public:
    explicit QResourceFileWidget(AbstractCore *core,QWidget *parent = 0);
    
    void    addResourceFile(QString str);
    void    removeResourceFile(QString str);

    void    setFolder(QString str);
    QString getFolder();

    void clear();

    void    select(QString str);
    QString getSelect();
signals:
    void selectChange();

public slots:

protected:
    QResourceTreeView       *m_treeView;

    QString                 m_folder;
    AbstractCore            *m_core;
    
};

#endif // QRESOURCEFILEWIDGET_H
